import request from '@/utils/request'

//获取今日自助餐
export function getTodayBuffet(query) {
  return request({
    url: 'order/panel/getTodayBuffet',
    method: 'get',
    params: query
  })
}
//获取今日点餐菜单
export function getTodayNormal(query) {
  return request({
    url: 'order/panel/getTodayNormal',
    method: 'get',
    params: query
  })
}


//获取今日代购菜单
export function getTodayReplace(query) {
  return request({
    url: 'order/panel/getTodayReplace',
    method: 'get',
    params: query
  })
}
//下单
export function createOrder(data) {
  return request({
    url: '/order/panel/createOrder',
    method: 'post',
    data: data
  })
}

